home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk14 / c64em / commands.h < prev    next >
C/C++ Source or Header  |  1995-03-18  |  502b  |  19 lines

  1. /*
  2.  *        Commodore 64 Spoof Emulator (C) Eddy Carroll, 1st April 1988
  3.  *
  4.  * Module: COMMANDS.H
  5.  *
  6.  * This module defines the structure used to contain commands and 
  7.  * the responses to those commands.
  8.  *
  9.  */
  10.  
  11. #define MAXRESPONSE 3
  12.  
  13. struct commandlist {
  14.     char *asc;            /* Pointer to command name (in uppercase)        */
  15.     int len;            /* Length of command name (speeds up matching)    */
  16.     int num;            /* Number of message to be printed next            */
  17.     char *response[MAXRESPONSE];    /* The message to print in response    */
  18. };
  19.